package com.zhangxx.web.mapper;

import com.zhangxx.web.domain.TbBlogArticle;
import com.zhangxx.web.domain.TbBlogArticleExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbBlogArticleMapper {
    long countByExample(TbBlogArticleExample example);

    int deleteByExample(TbBlogArticleExample example);

    int insert(TbBlogArticle record);

    int insertSelective(TbBlogArticle record);

    List<TbBlogArticle> selectByExampleWithBLOBs(TbBlogArticleExample example);

    List<TbBlogArticle> selectByExample(TbBlogArticleExample example);

    int updateByExampleSelective(@Param("record") TbBlogArticle record, @Param("example") TbBlogArticleExample example);

    int updateByExampleWithBLOBs(@Param("record") TbBlogArticle record, @Param("example") TbBlogArticleExample example);

    int updateByExample(@Param("record") TbBlogArticle record, @Param("example") TbBlogArticleExample example);
}